package com.example.myxm.module;

/**
 * 用户实体 Bean，只包含登录/注册后需要返回给前端或业务层使用的信息
 */
public class UserBean {
    private int id;
    private String username;
    private String phone;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    private String password;

    public UserBean() {
    }

    public UserBean(int id, String username, String phone) {
        this.id = id;
        this.username = username;
        this.phone = phone;
    }

    // Getter & Setter

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
